package com.study_security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study_security.dto.UserDTO;
import com.study_security.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {

    Long selectMaxId();

    UserDTO selectUserInfoById(Long UserId);
    String getPhoneNumberByUserId(@Param("userId") Long userId);
}
